package com.dyna.structural.decorator;

public class MeiyanDecorator implements MainTiktok{

    private DindTiktok dindTiktok;

    public MeiyanDecorator(DindTiktok dindTiktok) {
        this.dindTiktok = dindTiktok;
    }

    @Override
    public void tiktok() {
        //开启美颜功能
        enable();
        dindTiktok.tiktok();
    }

    public void enable() {
        System.out.println("美颜开启啦...");
        System.out.println("好多好多花啊...");
    }

}
